import httpTokenRequest from "../util/request.js"
export function addYsOrder(student){
	 return httpTokenRequest({
		 url:'/ys-order',
		 method:"post",
		 data:JSON.stringify(student)
	 })
}
export function getAllYSOrder(orderNumber){
	 return httpTokenRequest({
		 url:'/ys-order/list/1/10',
		 data:{
			 orderNumber:orderNumber
		 },
		 method:"get"
	 })
}
export function getOrderDetails(orderNumber){
	 return httpTokenRequest({
		 url:'/order-details/'+orderNumber,
		 method:"get"
	 })
}

